<html>
<head><meta charset="utf-8"><title>gen-syntax alters newlines · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/gen-syntax.20alters.20newlines.html">gen-syntax alters newlines</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="174978119"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/gen-syntax%20alters%20newlines/near/174978119" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jeremy Kolb <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/gen-syntax.20alters.20newlines.html#174978119">(Sep 05 2019 at 14:21)</a>:</h4>
<p>On Windows I'm seeing <code>cargo gen-syntax</code> always needing to be run before a <code>cargo test</code>. It alters new lines. A <code>cargo format</code> run fixes that essentially reverting the change. This does not happen with <code>cargo gen-tests</code>.</p>



<a name="174981258"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/gen-syntax%20alters%20newlines/near/174981258" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/gen-syntax.20alters.20newlines.html#174981258">(Sep 05 2019 at 14:51)</a>:</h4>
<p><span class="user-mention" data-user-id="203366">@Jeremy Kolb</span> should be fixed by <a href="https://github.com/rust-analyzer/rust-analyzer/pull/1766" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/pull/1766">https://github.com/rust-analyzer/rust-analyzer/pull/1766</a></p>



<a name="174992146"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/gen-syntax%20alters%20newlines/near/174992146" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Barsky <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/gen-syntax.20alters.20newlines.html#174992146">(Sep 05 2019 at 16:43)</a>:</h4>
<p>[uh, wrong topic. sorry]</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>